﻿using System;
using System.Runtime.Serialization;

namespace Cubicle.Core.DataContracts
{
    [DataContract]
    [Serializable]
    public class EventServiceArgs : EventArgs
    {
        [DataMember]
        public string EventName;

        [DataMember]
        public string Source;

        [DataMember]
        public object Args { get; set; }

        public EventServiceArgs(string eventName, string source, object args)
        {
            EventName = eventName;
            Source = source;
            Args = args;
        }
    }
}